package com.stylefeng.guns.modular.small.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @des 生成系统内部32位订单号工具类
 */
public class GeneratorOrderNoUtil {

    public static String  GeneratorOrderNo(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd24HHmmss");
        String time=format.format(new Date());
        int radom=(int)((Math.random()*9+1)*10000);
        String order_no= "AM_".concat(time).concat(String.valueOf(radom));
        return order_no;
    }

}
